<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// return [
//     '__pattern__' => [
//         'name' => '\w+',
//     ],
//     '[hello]'     => [
//         ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
//         ':name' => ['index/hello', ['method' => 'post']],
//     ],

// ];

use think\Route;
// Route::get("/index","index/Index/index");
//后台登陆
Route::controller("/adminlogin","admin/Login");
//后台路由
Route::controller("/admin","admin/Admin");
//后台分类管理
Route::controller("/admincates","admin/Cates");
//后台公告管理
Route::controller("/adminnotice","admin/Notice");
//后台广告管理
Route::controller("/adminadvert","admin/Advert");
//后台轮播图管理
Route::controller("/admincarousel","admin/Carousel");
//后台评价管理
Route::controller("/adminevaluate","admin/Evaluate");
//友情链接管理
Route::controller("/adminlinks","admin/Links");
//商品管理
Route::controller("/admingoods","admin/Goods");

//后台用户管理
Route::controller("/adminmember","admin/Member");
//品牌管理
Route::controller("/adminbrand","admin/Brand");
//后台角色管理
Route::controller("/adminrolelist","admin/Rolelist");
//后台管理员管理
Route::controller("/adminsuser","admin/Admins");
//权限管理
Route::controller("/adminlists","admin/Lists");
//后台订单管理
Route::controller("adminorder","admin/Order");


//前台首页
Route::controller("/home","index/Index");
//前台注册
Route::controller("/homeregister","index/Register");
//前台登录
Route::controller("/homelogin","index/Login");

//商品详情
Route::Controller("/goodsinfo","index/Goodsinfo");
//购物车页
Route::Controller("/cart","index/Cart");
//确认订单页
Route::Controller("/pay","index/Pay");
//订单详情页
Route::Controller("/orderinfo","index/Orderinfo");


